<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>List of currently logged in users</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.hw-unlock.html">hw_Unlock</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.hwapi.html">Hyperwave API</a></div>
 <div class="up"><a href="ref.hw.html">Hyperwave 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.hw-who" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">hw_Who</h1>
  <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">hw_Who</span> &mdash; <span class="dc-title">List of currently logged in users</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.hw-who-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>hw_who</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$connection</code></span>
   )</div>

  <p class="para rdfs-comment">
   Gets the list of currently logged in users.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.hw-who-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">connection</code></em></dt>

     <dd>

      <p class="para">
       The connection identifier.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.hw-who-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns an array of users currently logged into the Hyperwave server.
   Each entry in this array is an array itself containing the elements id,
   name, system, onSinceDate, onSinceTime, TotalTime and self. &#039;self&#039;
   is 1 if this entry belongs to the user who initiated the request.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.hw-unlock.html">hw_Unlock</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.hwapi.html">Hyperwave API</a></div>
 <div class="up"><a href="ref.hw.html">Hyperwave 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
